<%@ page import="java.util.Date" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
    request.setAttribute("basePath", basePath);
%>
<html>
<head>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
    <link href="css/messageboard.css"  rel="stylesheet" type="text/css"/>
</head>
<body>

<div>
    <div class="div_background">
    <span>留言板</span>
    <form id="add_form" accept-charset="UTF-8">
        <div>
            <input name="respondName" type="text" class="form-control input" placeholder="name">
            <textarea  name="content" class="form-control textarea" rows="6"></textarea>
        </div>
        <button type="button" onclick="submit_form()" class="button">发表</button>
    </form>
        <div>
            <span class="div_message_font">历史评论</span>
        </div>
        <div class="div_message">
            <div class="line_top"></div>
            <div>
                <span class="span_content">content</span>
                <span class="span_time"><%=new Date() %>&nbsp;&nbsp;&nbsp;强强</span>
            </div>
            <div class="line_bottom"></div>
        </div>
    </div>
</div>
<script type="text/javascript" src="js/message_board.js"></script>
</body>
</html>
